
package org.mm.frame.web.form;

/**
 * @author Clarence
 *
 */
public class Message {

	public static final String MESSAGE_INFO_TYPE = "info";
	public static final String MESSAGE_SUCCESS_TYPE = "success";
	public static final String MESSAGE_WARNING_TYPE = "warning";
	public static final String MESSAGE_ERROR_TYPE = "error";
	
	private String type;
	
	private String message;
	
	public Message() {
	}
	
	public Message(String type, String message) {
		this.type = type;
		this.message = message;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}	
	
}
